import styled from 'styled-components';

export const Aboutmewrap = styled.div`
width: 800px;
margin: 10px auto;
background-color:white;
&>.header{
    border-bottom: 1px solid black;
    &>.title{
        width: 100%;
        display: flex;
        justify-content: space-between;
        height: 40px;
        border-bottom: 1px solid #8bbf5d;
        &>.left{
            background-color:#8bbf5d;
            color:white;
            height: 40px;
            line-height:40px;
            text-align:center;
            width: 100px;
            font-size: 18px;
        }
        &>.right{
            height: 40px;
            line-height:40px;
            color: #666;
        }
    }

    &>.middle{
        width:100%auto;
        &>img{
            display: block;
            width: 150px;
            height: 150px;
            margin:50px auto 0;
            border-radius: 50%;
        }
        &>.name{
            text-align: center;
            margin:20px auto;
            color: #666;
            font-size: 20px;
            font-weight: bold;
        }
    }

    &>.bottom{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        &>.left{
            color: #666;
            text-align: center;
            height:40px;
            line-height: 40px;
            font-size: 18px;
            margin-left: 20px;
        }
        &>img{
            
        }
    }
}
&>.profile{
    line-height:1.9;
    padding:10px 15px;
}
&>.mypub{
    margin-top: 10px;
    padding:10px 15px;
    
    &>.content1{
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
        &>.item{
            height: 100%;
            width:50%;
            padding: 10px 20px;
            display: flex;
            cursor: pointer;
            position: relative;
            &>img{
                display: block;
                width:40%;
                height: 90px;
            }
            &>.right1{
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                margin-left: 5px;
                &>.title{
                    font-size: 18px;
                    font-weight: bold;
                }
            }
            .iconfont{
                opacity:0 !important;
                position: absolute;
                display: block;
                top:20px;
                right:20px;
                font-size: 20px;
                z-index:100 !important;
            }
            &:hover{
                .iconfont{
                    opacity: 1 !important;
                }
            }
        }
    }

    &>.page{
        margin: 20px auto;
        margin-left: 100px;
    }
    &>.topub{
        display: flex;
        &>.topub{
            font-size: 20px;
            font-weight: bold;
            &>span{
                color:red;
                cursor: pointer;
            }
        }
    }
}

&>.mycollection{
    margin-top: 10px;
    padding:10px 15px;
    
    &>.content1{
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
        &>.item{
            height: 100%;
            width:50%;
            padding: 10px 20px;
            display: flex;
            cursor: pointer;
            position: relative;
            &>img{
                display: block;
                width:40%;
                height: 90px;
            }
            &>.right1{
                display: flex;
                flex-direction: column;
                justify-content: space-around;
                margin-left: 5px;
                &>.title{
                    font-size: 18px;
                    font-weight: bold;
                }
            }
            .iconfont{
                opacity:0 !important;
                position: absolute;
                display: block;
                top:20px;
                right:20px;
                font-size: 20px;
                z-index:100 !important;
            }
            &:hover{
                .iconfont{
                    opacity: 1 !important;
                }
            }
        }
    }

    &>.page{
        margin: 20px auto;
        margin-left: 100px;
    }
    &>.topub{
        display: flex;
        &>.topub{
            font-size: 20px;
            font-weight: bold;
            &>span{
                color:red;
                cursor: pointer;
            }
        }
    }
}

`